package Utils;

import java.sql.Connection;
import java.sql.DriverManager;



public class ConnectionUtil {

	public Connection getConnection () throws Exception{
		Class.forName("com.mysql.jdbc.Driver");
		String url="jdbc:mysql://localhost:3306/student_info_manage_sys?useUnicode=true&characterEncoding=utf-8";
		String user = "root";
		String password = "123456";
		Connection conn=DriverManager.getConnection(url,user,password);
		return conn;
	}
}
